package com.unittec.drainage.sdk.root.enums.privider;

import lombok.Getter;

/**
 * @program: drainage-merger-parent
 * @description: 折扣类型，1--按总使用次数 2--按总使用费用
 * @author: djj
 * @create: 2019-07-13 15:17
 **/
@Getter
public enum DiscountTypeEnum {
    DEFAULT(0, "默认"),

    SUM_SECOND(1, "按总使用次数"),

    SUM_COST(2, "按总使用费用");

    private final String message;
    private final Integer code;

    DiscountTypeEnum(final Integer code, final String message) {
        this.code = code;
        this.message = message;
    }
}
